//
//  HMTeacgerEvaluateDetailOneCell.m
//  BestLearning
//
//  Created by 陈辉明 on 2017/12/11.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "HMTeacgerEvaluateDetailOneCell.h"
#import "HNTeacgerEvaluateDetailModel.h"

@interface HMTeacgerEvaluateDetailOneCell()

@property (weak, nonatomic) IBOutlet UIImageView *picImageView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *className;



@end

@implementation HMTeacgerEvaluateDetailOneCell

-(void)setLessonName:(NSString *)lessonName {
    _lessonName = lessonName;
    self.className.text = lessonName;
}


-(void)setModel:(HNTeacgerEvaluateDetailModel *)model {
    _model = model;
    self.nameLabel.text = model.petName;
    if ([NSString isBlankString:model.avatar]) {
        
    }else {
        [self.picImageView sd_setImageWithURL:[NSURL URLWithString:model.avatar] placeholderImage:[UIImage imageNamed:@"bg_picture_default"]];
    }
    
//    self.className.text = model.subjectId;
//    if ([model.subjectId integerValue] <= 0) {
//
//        _TypeTitle.text = @"课程名称";
//        _Type.text      = self.SubjectTitle;
//    } else {
//
//        _Type.text            = _Model.subjectId;
//    }
}



@end
